<template>
    <div>
      <div class="header">
        <img src="../img/left.png" @click="back">
        <h4>我要推广</h4>
      </div>
      <div>
        <p>我的推荐人列表</p>
        <p id="responseJSON"></p>
        <hr><br>
        <div>
          <table id="refereeTable">
            <tr>
              <th>用户名</th>
              <th>邀请时间</th>
            </tr>

          </table>
        </div>
      </div>
      <div class="footer">
        <div class="button" onclick="lookRefereeId()">
          点击查看我的邀请码
        </div>
        <div style="display: none" class="button buttonActive" onclick="alert('告知他人注册的时候，填写你的邀请码即可成为您邀请的人')">

        </div>
        <span id="login-tips"></span>
        <p>告知他人注册的时候，填写你的邀请码即可成为您邀请的人</p>
      </div>
    </div>
</template>
<script>
    export default {
        data() {
            return {}
        },
      created(){
        this.$http.post(this.urlHost+'user/getUsersByRefereeId.do',{
          emulateJSON:true
        }).then(function(res){
        //console.log( res);
          alert(11)


        },function(res){
          alert(res)
        });
      },
        methods: {
          back(){
            this.goback()
          },
        }
    }
</script>
<style>
</style>
